package cn.e3mall.service;

import cn.e3mall.common.pojo.EasyUIDataGridResult;
import cn.e3mall.common.util.E3Result;
import cn.e3mall.pojo.TbItem;
import cn.e3mall.pojo.TbItemDesc;

public interface ItemService {

	TbItem getItemById(long itemid);
	
	EasyUIDataGridResult getItemList(int page,int rows);
	
	E3Result addItem(TbItem item,String desc);
	
	E3Result showItem(long TbItemId);
	
	E3Result showItemDesc(long TbItemId);
	
	E3Result editItem(TbItem item,String desc);
	
	E3Result delItem(long TbItemId);
	
	//根据商品取商品描述
	TbItemDesc getItemDescById(long TbItemId);
}
